package com.jjzy.service;
import com.jjzy.pojo.User;

public class UserServiceimpl implements UserService {

    public User queryUserByName(String name) {
        User user = null;
        switch (name){
            case "1": user = new User("1","fe66ba636b107d7a07fcb4c4b85f2c66");
                break;
            case "2": user = new User("2","fe66ba636b107d7a07fcb4c4b85f2c66");
                break;
            case "3": user = new User("3","fe66ba636b107d7a07fcb4c4b85f2c66");
                break;
        }
        return user;
    }
}
